home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000220_roegel@lorraine.loria.fr_Wed Feb 2 16:47:24 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  5KB

  1. Received: from lorraine.loria.fr by cs.umb.edu with SMTP id AA26365
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Wed, 2 Feb 1994 09:46:39 -0500
  3. Received: from pandore.loria.fr (pandore.loria.fr [152.81.4.135]) by lorraine.loria.fr (8.6.5/8.6.5) with ESMTP id PAA19724; Wed, 2 Feb 1994 15:46:25 +0100
  4. From: "Denis B. Roegel" <Denis.Roegel@loria.fr>
  5. Received: from localhost (roegel@localhost) by pandore.loria.fr (8.6.4/8.6.4) id PAA15675; Wed, 2 Feb 1994 15:47:25 +0100
  6. Message-Id: <199402021447.PAA15675@pandore.loria.fr>
  7. Subject: How I installed web2c 6.0
  8. To: tex-k@cs.umb.edu
  9. Date: Wed, 2 Feb 1994 15:47:24 +0100 (MET)
  10. Cc: roegel@lorraine.loria.fr (Denis B. Roegel)
  11. X-Mailer: ELM [version 2.4 PL23]
  12. Mime-Version: 1.0
  13. Content-Type: text/plain; charset=ISO-8859-1
  14. Content-Transfer-Encoding: 8bit
  15. Content-Length: 3595      
  16.  
  17. I think it might be useful to present you
  18. how I installed web2c 6.0 on a Sparcstation.
  19. I ran in several errors mentionned earlier,
  20. often because I had wrong paths or because my
  21. web2c-6.0 directory was not completely clean.
  22.  
  23. First, I got web-6.0.tar and web2c-6.0.tar
  24. and I untared them somewhere, which created
  25. the web2c-6.0 directory. Then I modified
  26. exactly seven files:
  27.  
  28. 1) The first five concern paths. This is of course my
  29.    configuration. I only show what I changed.
  30.    I did the same everywhere:
  31.  
  32.   a) In web2c-6.0/Makefile.in:
  33.  
  34.      texmf_prefix = $(datadir)
  35.      texinputdir = $(texmf_prefix)/tex/inputs
  36.      mfinputdir = $(texmf_prefix)/mf/inputs
  37.      fontdir = $(texmf_prefix)/tex/fonts
  38.      fmtdir = $(texmf_prefix)/tex/formats
  39.      basedir = $(texmf_prefix)/mf/bases
  40.      texpooldir = $(texmf_prefix)/tex
  41.      mfpooldir = $(texmf_prefix)/mf
  42.      psfontdir = $(fontdir)
  43.      dvips_prefix = $(texmf_prefix)/tex/ps
  44.      configdir = $(dvips_prefix)
  45.      headerdir = $(configdir)
  46.      psmacrodir = $(texinputdir)
  47.  
  48.    b) I did the same in web2c-6.0/kpathsea/Makefile.in
  49.    c) I did the same in web2c-6.0/web2c/Makefile.in
  50.    d) I did the same in web2c-6.0/web2c/man/Makefile.in
  51.  
  52.    e) In web2c-6.0/kpathsea/paths.h.in:
  53.  
  54.      #define DEFAULT_TEX_PATH ".:(texinputdir)"
  55.      #define DEFAULT_MF_PATH ".:(mfinputdir)"
  56.      #define DEFAULT_FMT_PATH ".:(fmtdir)"
  57.      #define DEFAULT_BASE_PATH ".:(basedir)"
  58.      #define DEFAULT_TEXPOOL_PATH "(texpooldir)"
  59.      #define DEFAULT_MFPOOL_PATH "(mfpooldir)"
  60.      #define DEFAULT_TFM_PATH ".:(fontdir)/tfm"
  61.      #define DEFAULT_VF_PATH ".:(fontdir)/vf"
  62.      #define DEFAULT_GLYPH_PATH ".:(fontdir)"
  63.      #define DEFAULT_GF_PATH ".:(fontdir)/gf"
  64.      #define DEFAULT_PK_PATH ".:(fontdir)/pk//"
  65.      #define DEFAULT_BIB_PATH ".:(texmf_prefix)/tex/inputs"
  66.      #define DEFAULT_BST_PATH ".:(texmf_prefix)/tex/inputs"
  67.      #define DEFAULT_CONFIG_PATH ".:~:(configdir)"
  68.      #define DEFAULT_HEADER_PATH ".:(headerdir)"
  69.  
  70. 2) Then, I had a problem with the X11 library:
  71.  
  72.   a) I changed the standard Xlib.h file and added
  73.       (just before #define XlibSpecificationRelease 5)
  74.  
  75.       #ifndef X_WCHAR
  76.       #include <stddef.h>
  77.       #else
  78.       typedef unsigned long wchar_t;
  79.       #endif
  80.   
  81.       I put this modified file in web2c-6.0/web2c/mf/MFwindow.
  82.  
  83.   b) In order to use this modified Xlib.h at compile time,
  84.      I changed the line 
  85.  
  86.           #include <X11/Xlib.h> 
  87.  
  88.      in web2c-6.0/web2c/mf/MFwindow/x11-Xt.c
  89.      into 
  90.  
  91.           #include "Xlib.h"
  92.  
  93.  
  94. This was enough. I then ran configure, then make.
  95. And everything went smoothly.
  96.  
  97. However, I needed to generate MlTeX. I had the change file
  98. for TeX 3.141. This is a file named ctex_cs_3141.ch.
  99. I changed its name, as well as 3.141 into 3.1415 in it.
  100. This lead to ctex_cs_31415.ch which I renamed in ctex.ch
  101. and pput in place of web2c-6.0/web2c/tex/ctex.ch.
  102. Also, it is then necessary to modify the file
  103. web2c-6.0/web2c/tex/Makefile.in:
  104.  
  105. tex.p: tex.web ctex.ch
  106.         ../web/tangle tex.web ctex.ch
  107.  
  108. must be replaced by
  109.  
  110. tex.p: tex.web ctex.ch
  111.         ../web/tangle tex.web ctex.ch
  112.         sed -e 's/xiiix/(/;s/xtttx/)/' tex.p > tex.pp
  113.         mv tex.pp tex.p
  114.  
  115.  
  116. And that's all folks, here at least!
  117.  
  118. Denis.
  119.  
  120.  -----------------------------------------------------
  121. | Denis Roegel                                        |
  122. | CRIN (Centre de Recherche en Informatique de Nancy) | 
  123. | F-54506 VANDOEUVRE-LES-NANCY                        |
  124. | FRANCE                                              |
  125. | e-mail: roegel@loria.fr                             |
  126.  -----------------------------------------------------